param($ParentNodeName,$ChildNodeName,[array]$AttributeNames)
begin
{
	[xml]$manifestXml = "<$ParentNodeName></$ParentNodeName>"
	$dm = $manifestXml.selectSingleNode("/$ParentNodeName") 
	
}
process
{
	$node = $manifestXml.CreateElement($ChildNodeName)
	[void] $dm.AppendChild($node)
	foreach ($attribute in $AttributeNames)
	{
		[void] $node.SetAttribute($attribute,$_.$attribute)
	}
}
end
{
	$manifestXml
}